package registnet.base;

/**
 * Default implementation of a course.
 */
public class DefaultCourse extends AbstractCourse {
	
	/**
	 * Creates a course with the given code, year, semester and unit.
	 * 
	 * @param courseCode
	 * @param year
	 * @param semester
	 * @param unit
	 */
	public DefaultCourse(String courseCode, int year, int semester, int unit){				
		this.courseCode=courseCode;
		this.year=year;
		this.semester=semester;
		this.unit=unit;
	}
	
	/**
	 * Creates a course with the given code.
	 * 
	 * @param courseCode
	 */
	public DefaultCourse(String courseCode){
		this.courseCode = courseCode;
	}

}
